/**
 * User: Obi
 * Date: 02.08.11
 * Time: 23:15
 */
package com.jediflasher.game_client.events.view {
import flash.events.Event;

public class LoginViewEvent extends Event {

	public static const LOGIN:String = "login";

	public function LoginViewEvent(type:String, login:String, password:String, bubbles:Boolean = false, cancelable:Boolean = false) {
		super(type, bubbles, cancelable);
		this._login = login;
		this._password = password;
	}

	/**
	 * @private
	 */
	private var _login:String;

	public function get login():String {return this._login;}

	/**
	 * @private
	 */
	private var _password:String;

	public function get password():String {return this._password;}

	override public function clone():Event {
		return new LoginViewEvent(type, login, password, bubbles, cancelable);
	}
}
}
